@import 'common';


@tag-color: #f48f18;
@boder-color: #ddd;
@gd-dl-bg-color: #f7f7f7;

.first {
    border: 0;
}

body {
    font-family: PingFangSC-Light,helvetica,'Heiti SC';
}

.gd-container {
    background: @background;
    .contaner-content {
        .content-info {
            width: 100%;
            background: @inner-background;
            .info-pic {
                width: @width;
                .swiper-wrapper {
                    .swiper-slide {
                        img {
                            width: @width;
                        }
                    }
                }
                
                .container-pagination-wrapper {
                    width: .5rem;
                    height: .3rem;
                    position: absolute;
                    right: .2rem;
                    bottom: .2rem;
                    .swiper-pagination {
                        position: absolute;
                        bottom: .2rem;
                        padding: .05rem;
                        background: @inner-background;
                    }
                }
            }
            
            .info-text {
                text-align: center;
                .text-goodsname {
                    margin: 0;
                    margin-top: .5rem;
                    font-size: .3rem;
                    font-weight: 400;
                    color: @font-dark-color;
                }
                
                .text-goods-spec {
                    margin: .1rem 0;
                    font-size: .24rem;
                    color: @font-light-color;
                }
                
                .text-goods-price {
                    font-size: .28rem;
                    color: @strong-color;
                }
                
                .text-tag {
                    padding: .3rem;
                    a {
                        padding: .05rem .1rem;
                        margin: 0 .05rem;
                        display: inline;
                        color: @tag-color;
                        border: .01rem solid @tag-color;
                        i {
                            font-weight: 400;
                        }
                    }
                }
            }
        }
        
        .content-spec {
            background: @inner-background;
            padding: 0 .3rem;
            .spec-list {
                padding: 0;
                margin: 0;
                font-size: .26rem;
                .list-item {
                    padding: .3rem 0;
                    border-top: .01rem solid @boder-color;
                    i {
                        float: right;
                        color: @font-medium-color;
                    }
                    
                    .item-ul {
                        display: flex;
                        justify-content: space-between;  
                        padding: 0;
                        padding-left: .3rem;
                        li {
                            list-style-type: disc;
                            text-align: left;
                            font-size: .2rem;
                            color: @font-light-color;
                        }
                    }
                }
                
                .first {
                    border: 0;
                }

                .list-item-num {
                    color: @font-medium-color;
                }
                
                .list-item-benefit {
                    font-size: .24rem;
                    color: @font-light-color;
                    span {
                        vertical-align: middle;
                    }
                    .item-tag {
                        padding: .02rem .05rem;
                        vertical-align: middle;
                        font-size: .2rem;
                        color: @tag-color;
                        border: .01rem solid @tag-color;
                    }
                    
                    .item-tag-text {
                        color: @tag-color;
                    }
                }
            }
        }
        
        .content-comment {
            background: @inner-background;
            margin-top: .2rem;
            padding: .3rem;
            color: @font-medium-color;
            .comment-header {
                font-size: .24rem;
                h6 {
                    display: inline;
                    margin: 0;
                    font-size: .24rem;
                    color: @font-medium-color;
                }
                span {
                    color: @font-medium-color;
                }
                .header-icon {
                    float: right;
                    color: @font-medium-color;
                    i {
                        margin-left: .05rem;
                    }
                }
                
                .border {
                    margin: .2rem 0;
                    border-top: .01rem solid @boder-color;
                }
            }
            
            .comment-content {
                .content-header {
                    time {
                        float: right;
                        line-height: .5rem;
                    }
                    
                    .header-portrait {
                        vertical-align: middle;
                        width: .5rem;
                        border-radius: 50%;
                    }
                    
                    .header-username {
                        margin-left: .1rem;
                        font-size: .24rem;
                    }
                }
                
                .content-article {
                    p {
                        font-size: .24rem;
                        color: @font-light-color;
                    }
                    .article-pic {
                        margin-bottom: .1rem;
                        img {
                            width: 22%;
                            margin: 1%;
                        }
                    }
                    
                    .article-goods-spec {
                        font-size: .2rem;
                        color: @font-light-color;
                    }
                }
            }
        }
        
        .content-parameter {
            background: @inner-background;
            margin-top: .2rem;
            padding: .3rem;
            h6 {
                margin: 0;
                font-size: .24rem;
                color: @font-medium-color;
            }
            
            .parameter-item {
                display: flex;
                background: @gd-dl-bg-color;
                padding: .2rem;
                dt {
                    flex: 1;
                    line-height: .5rem;
                    display: inline;
                    color: @font-light-color;
                }
                dd {
                    display: inline;
                    width: 75%;
                    margin: 0;
                    color: @font-medium-color;
                    p {
                        margin: 0;
                        line-height: .4rem;
                    }
                }
            }
        }
        
        .content-details {
            font-size: 0;
            img {
                float: left;
                width: 100%;
                font-size: 0;
            }
        }
        
        .content-part {
            position: relative;
            text-align: center;
            font-size: .26rem;
            background: @inner-background;
            .border {
                position: absolute;
                left: 50%;
                top: .5rem;
                margin-left: -1.3rem;
                width: 2.6rem;
                border-bottom: .01rem solid @boder-color;
            }
            
            .part-text {
                position: relative;
                display: inline-block;
                background: @inner-background;
                padding: .4rem .2rem;
            }
        }
        
        .content-quality {
            img {
                width: @width;
            }
        }
        
        .content-question {
            .question-details {
                text-align: left; 
                .details-list {
                    padding: 0 .5rem;
                    .list-item {
                        list-style-type: disc;
                        font-size: .16rem;
                        .item-title {
                            color: @font-medium-color;
                        }
                        
                        .item-content {
                            color: #707070;
                            line-height: .25rem;
                        }
                    }
                }  
            }
        }
    }
}

.gd-footer {
    position: fixed;
    bottom: 0;
    z-index: 10;
    display: flex;
    width: 100%;
    line-height: .7rem;
    text-align: center;
    background: #fff;
    .footer-service {
        flex: 1;
        font-size: .4rem;
        color: @font-medium-color;
        border-right: .01rem solid @boder-color;
    }
    
    .footer-button {
        display: flex;
        width: 85%;
        a {
            flex: 1;
            font-size: .22rem;
        }
        
        .button-buy {
            color: @font-medium-color;
        }
        
        .button-cart {
            color: @font-light-most-color;
            background: @strong-color;
        }
    }
}
